package saves;

import dialogmaker.annotations.NumberRestrictions;
import dialogmaker.annotations.RealName;
import java.io.Serializable;

public class GasAtmosferico implements Serializable {
    private static final long serialVersionUID = 647125955416740537L;
    
    @RealName("Nome")
    private String nome;
    
    @RealName("Descrição")
    private String descricao;
    
    @RealName("Coeficiente de Calor")
    @NumberRestrictions(integer = false, min = 0, minCap = NumberRestrictions.Cap.INCLUSIVE, max = 1, maxCap = NumberRestrictions.Cap.INCLUSIVE)
    private float coefCalor;
    
    @RealName("Coeficiente de Luminosidade")
    @NumberRestrictions(integer = false, min = 0, minCap = NumberRestrictions.Cap.INCLUSIVE, max = 1, maxCap = NumberRestrictions.Cap.INCLUSIVE)
    private float coefLum;

    private GasAtmosferico() {
    }

    public GasAtmosferico(String nome, String descricao, float coefCalor, float coefLum) {
        this.nome = nome;
        this.descricao = descricao;
        this.coefCalor = coefCalor;
        this.coefLum = coefLum;
    }

    public String getNome() {
        return nome;
    }

    public void setNome(String nome) {
        this.nome = nome;
    }

    public String getDescricao() {
        return descricao;
    }

    public void setDescricao(String descricao) {
        this.descricao = descricao;
    }

    public float getCoefCalor() {
        return coefCalor;
    }

    public void setCoefCalor(float coefCalor) {
        this.coefCalor = coefCalor;
    }

    public float getCoefLum() {
        return coefLum;
    }

    public void setCoefLum(float coefLum) {
        this.coefLum = coefLum;
    }
    
    @Override
    public String toString() {
        return this.nome;
    }
}
